[INFO] cloning repository https://github.com/matt-thomson/github-sweep
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matt-thomson/github-sweep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatt-thomson%2Fgithub-sweep", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatt-thomson%2Fgithub-sweep'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 558cafddfc46f8ae7352a5895553cc7c3562d6f0
[INFO] testing matt-thomson/github-sweep against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatt-thomson%2Fgithub-sweep" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/matt-thomson/github-sweep on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/matt-thomson/github-sweep
[INFO] finished tweaking git repo https://github.com/matt-thomson/github-sweep
[INFO] tweaked toml for git repo https://github.com/matt-thomson/github-sweep written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/matt-thomson/github-sweep already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e55b0f567d6442cd9388df2da0ad5934e20ae65304512f799594e5827551eda2
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e55b0f567d6442cd9388df2da0ad5934e20ae65304512f799594e5827551eda2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e55b0f567d6442cd9388df2da0ad5934e20ae65304512f799594e5827551eda2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e55b0f567d6442cd9388df2da0ad5934e20ae65304512f799594e5827551eda2", kill_on_drop: false }`
[INFO] [stdout] e55b0f567d6442cd9388df2da0ad5934e20ae65304512f799594e5827551eda2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] a87293d31c242d0e532d66514e62d5ab5cd657e2b502279f71cc5f243e204bf2
[INFO] running `Command { std: "docker" "start" "-a" "a87293d31c242d0e532d66514e62d5ab5cd657e2b502279f71cc5f243e204bf2", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling futures-core v0.3.14
[INFO] [stderr]    Compiling httparse v1.4.0
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-task v0.3.14
[INFO] [stderr]    Compiling httpdate v1.0.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling tracing-core v0.1.18
[INFO] [stderr]    Compiling futures-util v0.3.14
[INFO] [stderr]    Compiling futures-channel v0.3.14
[INFO] [stderr]    Compiling http v0.2.4
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling tokio v1.5.0
[INFO] [stderr]    Compiling tracing v0.1.26
[INFO] [stderr]    Compiling http-body v0.4.1
[INFO] [stderr]    Compiling pin-project-internal v1.0.7
[INFO] [stderr]    Compiling pin-project v1.0.7
[INFO] [stderr]    Compiling hyper v0.14.7
[INFO] [stderr]    Compiling github-sweep v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `hyper::client`
[INFO] [stdout]  --> src/http.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hyper::client::Response;
[INFO] [stdout]   |            ^^^^^^ could not find `client` in `hyper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `hyper::header::Authorization`, `hyper::header::Basic`, `hyper::header::Headers`, `hyper::header::UserAgent`
[INFO] [stdout]  --> src/http.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hyper::header::{Authorization, Basic, Headers, UserAgent};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^  ^^^^^  ^^^^^^^  ^^^^^^^^^ no `UserAgent` in `header`
[INFO] [stdout]   |                     |              |      |
[INFO] [stdout]   |                     |              |      no `Headers` in `header`
[INFO] [stdout]   |                     |              no `Basic` in `header`
[INFO] [stdout]   |                     no `Authorization` in `header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `status` in `hyper`
[INFO] [stdout]  --> src/error.rs:9:30
[INFO] [stdout]   |
[INFO] [stdout] 9 |     Request { status: hyper::status::StatusCode }
[INFO] [stdout]   |                              ^^^^^^ could not find `status` in `hyper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Client` in crate `hyper`
[INFO] [stdout]  --> src/http.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 |     client: hyper::Client,
[INFO] [stdout]   |                    ^^^^^^ not found in `hyper`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 | use Client;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Client` in `hyper`
[INFO] [stdout]   --> src/http.rs:20:33
[INFO] [stdout]    |
[INFO] [stdout] 20 |         Client { client: hyper::Client::new(), headers: headers }
[INFO] [stdout]    |                                 ^^^^^^ not found in `hyper`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use Client;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/credentials.rs:11:20
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let username = try!(env_var("GITHUB_SWEEP_USER"));
[INFO] [stdout]    |                    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/credentials.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let token = try!(env_var("GITHUB_SWEEP_TOKEN"));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:42:20
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let response = try!(client.put("https://api.github.com/notifications", "{}"));
[INFO] [stdout]    |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `github-sweep`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "a87293d31c242d0e532d66514e62d5ab5cd657e2b502279f71cc5f243e204bf2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a87293d31c242d0e532d66514e62d5ab5cd657e2b502279f71cc5f243e204bf2", kill_on_drop: false }`
[INFO] [stdout] a87293d31c242d0e532d66514e62d5ab5cd657e2b502279f71cc5f243e204bf2
